import request from "@/utils/request";

//获取装修列表
export function getDragList(params) {
    return request({
        url: "channel/drag/get-drag-list",
        method: "get",
        params,
    });
}
//启用禁用装修页面
export function changeDrag(data) {
    return request({
        url: "channel/drag/change-drag",
        method: "post",
        data,
    });
}
//装修页面新增及修改
export function dragSave(data) {
    return request({
        url: "channel/drag/drag-save",
        method: "post",
        data,
    });
}
//删除装修页面
export function dragDel(data) {
    return request({
        url: "channel/drag/drag-del",
        method: "post",
        data,
    });
}
